<!doctype html>
<html ng-app='myApp'>
<head>
<#include "/h5/include.ftl"/>
<script>
	var _id = '${id}';
</script>
<script type="text/javascript"  src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js" ></script>
<script src="/h5/js/biz/storeDetail.js"></script>
<title>商家详情</title>
</head>

<body style="background:#f2f2f2;" ng-controller='storeController'>
<div class="index-header"> 
  <!--iheader-->
  <div id="iheader">
    <a href="/m" class="iheader_back"></a>
    <h2 class="iheader_title">商家详情</h2>
    <a href="#" class="ihead_share"><i></i></a>
    <a href="#" class="ihead_fav" ng-click='changeCollect()'><i></i></a>
    <h6 class="clear"></h6>
  </div>
</div>
<div class="h90"></div>
<div class="sj_detail_a">
	<div class="sj_detail_a_l"><a href="#"><img src="/h5/images/xc.jpg" ng-src='/download?id={{store.items.firstImg}}'/></a><em ng-bind="store.items.images.length+'张'">128张</em></div>
    <div class="sj_detail_a_r">
    	<div class="sj_detail_a_name" ng-bind='store.items.name'>恒记花园饭店</div>
        <div class="sj_detail_star">
                <span class="ic_star" ng-class="{'ic_star_selected':store.items.avgScore&gt;0}"></span>
                <span class="ic_star" ng-class="{'ic_star_selected':store.items.avgScore&gt;1}"></span>
                <span class="ic_star" ng-class="{'ic_star_selected':store.items.avgScore&gt;2}"></span>
                <span class="ic_star" ng-class="{'ic_star_selected':store.items.avgScore&gt;3}"></span>
                <span class="ic_star" ng-class="{'ic_star_selected':store.items.avgScore&gt;4}"></span>
                <em ng-bind='recommend.cnt+"评价"'>87评价</em>
       </div>
       <div class="sj_detail_a_info"><span ng-bind='store.items.info'></span><span ng-bind='store.items.areaName'></span></div> 
    </div>
</div>
<div class="sj_detail_b">
	<dl>
    	<a href="/m/store/map/${id}">
            <dt class="address"></dt>
            <dd ng-bind='store.items.address'>太湖东路（世茂香槟湖57栋）</dd>
        </a>
    </dl>
	<dl>
    	<a href="tel:{{store.items.phone}}">
            <dt class="tel"></dt>
            <dd ng-bind='store.items.phone'>0519-83605788、0519-83985788</dd>
        </a>
    </dl>
</div>
<div class="sj_detail_c">
	<a href="/m/store/diancan/${id}">
    	<i>点</i>我要点餐<span>(满1000元送200)</span>
    </a>
</div>
<div class="sj_detail_d">
	<i class="tuan">团</i>
	<div class="sj_detail_d_box" ng-repeat='goods in goods.items' ng-click='goodsDetail(goods.id)'>
    <a href="#">
        <div class="sj_detail_d_pic"><img src="/h5/images/guess_pic.jpg" ng-src='/download?id={{goods.img}}'></div>
        <div class="sj_detail_d_r">
            <h2 class="sj_detail_d_name" ng-bind='goods.name'>商务10人餐</h2>
            <div class="sj_detail_d_price" ng-bind="'￥'+goods.nowPrice">￥450</div>
        </div>
     </a>
        <h6 class="clear"></h6>
    </div>
</div>
<div class="sj_detail_e">
	<div class="sj_detail_t"><h2><a href="#" ng-click='toAllComment(store.items.id)'>查看全部</a>>评价（{{recommend.cnt}}）</h2></div>
    <div class="sj_pj">
	<div class="sj_pj_box" ng-repeat="comment in recommend.items">
    	<div class="sj_pj_a"><a href="#"><img src="/h5/images/touxiang.jpg" ng-src='/download?id={{comment.headImg}}'/></a></div>
        <div class="sj_pj_b">
        	<div class="sj_pj_name"><span class="sj_pj_time" ng-bind='comment.createTime'>2016-03-22 12:15:20</span>{{comment.nickName}}</div>
        	<div class="sj_pj_star">
                <span class="ic_star " ng-class="{'ic_star_selected':comment.score&gt;0}"></span>
                <span class="ic_star" ng-class="{'ic_star_selected':comment.score&gt;1}"></span>
                <span class="ic_star" ng-class="{'ic_star_selected':comment.score&gt;2}"></span>
                <span class="ic_star" ng-class="{'ic_star_selected':comment.score&gt;3}"></span>
                <span class="ic_star" ng-class="{'ic_star_selected':comment.score&gt;4}"></span>
            </div>
            <div class="sj_pj_info" ng-bind='comment.content'>菜色很丰富，和菜单上一模一样，菜量也可以！服务态度很好，酒店会打电话确认，提前安排好冷菜，上菜速度也及时！</div> 
            <div class="sj_pj_pic" ng-show='comment.imgs'>
            	<img src="/h5/images/pj_pic.jpg" ng-repeat="i in comment.images track by $index" ng-src="/download?id={{i}}"/>
				<h6 class="clear"></h6>
            </div>
        </div>
    </div>
    
</div>
</div>
<div class="h40"></div> 
</body>
</html>
